import request from '@/utils/request'

// 查询意见反馈列表
export function listMenFeedback(query) {
  return request({
    url: '/men/menFeedback/list',
    method: 'get',
    params: query
  })
}

// 查询意见反馈详细
export function getMenFeedback(id) {
  return request({
    url: '/men/menFeedback/' + id,
    method: 'get'
  })
}

// 新增意见反馈
export function addMenFeedback(data) {
  return request({
    url: '/men/menFeedback',
    method: 'post',
    data: data
  })
}

// 修改意见反馈
export function updateMenFeedback(data) {
  return request({
    url: '/men/menFeedback',
    method: 'put',
    data: data
  })
}

// 删除意见反馈
export function delMenFeedback(id) {
  return request({
    url: '/men/menFeedback/' + id,
    method: 'delete'
  })
}

// 导出意见反馈
export function exportMenFeedback(query) {
  return request({
    url: '/men/menFeedback/export',
    method: 'get',
    params: query
  })
}